<div id="main-content">
  <div class="container-fluid">
    <div class="row-fluid">
			<div class="span12">
				<div class="widget-block">
					<div class="widget-head">
						<h5><?php print $title?></h5>
					</div>
					<div class="widget-content">
            <div class="widget-box">
              <ul>
                <?php
                foreach($files as $fl){
                  if($fl != "."){
                    if($fl == "..")
                      print "<li><a href='".site_url("file/management/index/".$this->session->userdata("folder_current")."/2")."'>{$fl}</a></li>";
                    elseif(is_dir('./files/'.$this->session->userdata("file_current").'/'.$fl))
                      print "<li><a href='".site_url("file/management/index/".$fl."/1")."'>{$fl}</a></li>";
                    else
                      print "<li>{$fl}</li>";
                  }
                }
                ?>
              </ul>
              <?php
//              print $this->session->userdata("folder_current")."<br />";
//              print $this->session->userdata("file_current")."<br />";
              ?>
            </div>
          </div>
				</div>
			</div>
		</div>
  </div>
</div>